// by Xeno

// get a random point at the borders of a circle without checks
// parameters:
// center position, radius of the circle
// example: _random_point = [position trigger1, 200] call FUNC(GetRanPointCircleOuter);
private ["_center", "_radius", "_co", "_angle", "_center_x", "_center_y"];
_center = _this select 0;
_radius = _this select 1;
_center_x = _center select 0;_center_y = _center select 1;
_angle = floor (random 360);
_ret_val = [_center_x - (_radius * sin _angle), _center_y - (_radius * cos _angle), 0];
_ret_val